package com.hy.mydesktop.client.rpc;

import java.util.List;


import com.extjs.gxt.ui.client.data.BaseModel;
import com.extjs.gxt.ui.client.data.ModelData;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentControllerMetaModel;
import com.hy.mydesktop.shared.rpc.meta.GxtToSeamServiceParameter;
import com.hy.mydesktop.shared.rpc.meta.GxtToSeamServiceResult;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ServiceInvokerAsync {

//	void invokeService(String serviceClassName, String serviceName,Object[] parameterList, AsyncCallback<Object> callback);
//	void invokeService(String serviceClassName, String serviceName, AsyncCallback<List<BaseModel>> callback);
	//void invokeService(String serviceClassName, String serviceName, AsyncCallback<List<BaseModel>> callback);
//	public	void	callService ( GxtToSeamServiceParameter gxtToSeamServiceParameter, AsyncCallback <?> callback ) ;
	public	void	callService ( GxtToSeamServiceParameter gxtToSeamServiceParameter, AsyncCallback < GxtToSeamServiceResult > callback ) ;

	//void callService2(BaseModel gxtToSeamServiceParameter,AsyncCallback<BaseModel> callback);

	//void getBaseModle(String table, AsyncCallback<List<BaseModel>> callback);

	//void getTreeModel(String table, AsyncCallback<List<ModelData>> callback);

	
	public	void	callService2 ( GxtToSeamServiceParameter gxtToSeamServiceParameter, AsyncCallback < GxtComponentControllerMetaModel > callback ) ;

	
}
